<include file="Common:header" />
<div class="row" style="margin-right:0;">
	<div class="col-lg-1"></div>
	<div class="col-lg-10">
		<div data-spy="affix" data-offset-top="1" style="background-color:#ffffff;">
			<ol class="breadcrumb">
				<li class="active">ISP Registration</li>
				<li class="active">Update</li>
			</ol>
			<legend></legend>
		</div>
		<table id="tb" class="table table-hover table-bordered">
			<thead class="t_h" data-spy="affix" data-offset-top="2" style="background-color:#ffffff;border-bottom:10px solid #ff0;padding-top:2px;z-index:100">
				<tr>
					<!-- <th id="h_id">ID</th> -->
					<th id="h_universe">Universe ID</th>
					<th id="h_company">Company</th>
					<th id="h_tsender">Transactional<br>Sender/Domain</th>
					<th id="h_tip">Transactional<br>IP</th>
					<th id="h_csender">Commercial<br>Sender/Domain</th>
					<th id="h_cip">Commercial<br>IP</th>
					<th id="h_level">Volume</th>
					<th id="h_isp">ISP</th>
					<th id="h_isp">Group</th>
					<th id="h_operation" style="text-align:center;"><a style="font-size: 30px; color: #000;" href="javascript:void(0)"><span class="glyphicon glyphicon-asterisk" title="Operation"></span></a></th>
				</tr>
			</thead>
			<tbody>
				<foreach name="rawRegs" item="rawReg">
					<tr id="regid_{$rawReg.id}" class="tbtr tbtr_{$rawReg.isp|strtolower}">
						<!-- <td class="id" id="id_{$rawReg.id}">{$rawReg.id}</td> -->
						<td class="universe" id="universe_{$rawReg.id}">{$rawReg.universe|str_replace=',','<br>',###}</td>
						<td class="company" id="company_{$rawReg.id}">{$rawReg.company}</td>
						<td class="tsender" id="tsender_{$rawReg.id}">{$rawReg.tsender|str_replace=',','<br>',###}</td>
						<td class="tip" id="tip_{$rawReg.id}">{$rawReg.tip|str_replace=',','<br>',###}</td>
						<td class="csender" id="csender_{$rawReg.id}">{$rawReg.csender|str_replace=',','<br>',###}</td>
						<td class="cip" id="cip_{$rawReg.id}">{$rawReg.cip|str_replace=',','<br>',###}</td>
						<td class="level" id="level_{$rawReg.id}">{$rawReg.level}</td>
						<td class="isp" id="isp_{$rawReg.id}">{$rawReg.isp|ucfirst}</td>
						<td class="group" id="group_{$rawReg.id}"><input id="group_id_{$rawReg.id}" type="hidden" value="{$rawReg.group}" /><?php echo $regGroup[$rawReg['group']]['name']; ?></td>
						<td class="operation" style="text-align:center;">
							<a id="regeditbtn_{$rawReg.id}" data-regid="{$rawReg.id}" class="regeditbtn" style="font-size: 30px; color: #000;" href="javascript:void(0)"><span class="glyphicon glyphicon-edit" title="Edit"></span></a>
							<a id="regdeletebtn_{$rawReg.id}" class="regdeletebtn" data-regid="{$rawReg.id}" style="font-size: 30px; color: #000;" href="javascript:void(0)"><span class="glyphicon glyphicon-remove" title="Trash"></span></a>
							<a id="regsavebtn_{$rawReg.id}" data-regid="{$rawReg.id}" class="regsavebtn hide" style="font-size: 30px; color: #000;" href="javascript:void(0)"><span class="glyphicon glyphicon-check" title="Save"></span></a>
							<a id="regcancelbtn_{$rawReg.id}" data-regid="{$rawReg.id}" class="regcancelbtn hide" style="font-size: 30px; color: #000;" href="javascript:void(0)"><span class="glyphicon glyphicon-share" title="Cancel"></span></a>
						</td>
					</tr>
				</foreach>
			</tbody>
		</table>
	</div>
	<div class="col-lg-1"></div>
</div>
<include file="Common:footer" />